package psn.zjk.designpattern.command.core.impl;

import psn.zjk.designpattern.command.core.Command;
import psn.zjk.designpattern.command.core.Receiver;

public abstract class TurnOffCommand implements Command {
    private Receiver receiver;

    @Override
    public void execute() {
        turnOff();
    }

    protected abstract void turnOff();

}
